package com.ruoyi.rms.domain;

import java.math.BigDecimal;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息对象 rms_order_message
 * 
 * @author wyl
 * @date 2024-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class OrderMessage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点餐信息主键 */
    private Long orderId;

    /** 点餐人微信号 */
    @Excel(name = "点餐人微信号")
    private String wxId;

    /** 餐桌主键 */
    private Long seatId;

    /** 餐桌号 */
    @Excel(name = "餐桌号")
    private String seatNo;

    /** 实际人数 */
    @Excel(name = "实际人数")
    private Integer realAccount;

    /** 状态（0未下单，1已下单，2已付款，3未下单已结束） */
    @Excel(name = "状态", readConverterExp = "0=未下单，1已下单，2已付款，3未下单已结束")
    private String status;

    /** 应付金额 */
    @Excel(name = "应付金额")
    private BigDecimal duePrize;

    /** 实付金额 */
    @Excel(name = "实付金额")
    private BigDecimal actualPrize;

    /** 评分 */
    @Excel(name = "评分")
    private Integer score;
}
